﻿using System.Collections.Generic;
using System.Data;
using System.Data.EntityClient;
using System.Data.Objects;
using System.Data.Entity;

namespace ASPItalia.ModelVirtualCasting.EntityFramework.Wrappers
{
    public interface IContextWrapper
    {
        void ChangeObjectState(object entity, EntityState state);
        void SaveChanges(List<EntityCommand> commands, bool createNewContextAfterSaveChanges);
        bool EnableLazyLoading { get; set; }
        DbSet<T> CreateDbSet<T>() where T : class;
    }
}
